import axios from '@/utils/request';

export function getSchoolList(params) {
    return axios.post({
        url: '/school/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getLoadSchoolList(params) {
    return axios.post({
        url: '/school/loadListAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSchoolListAll(params) {
    return axios.post({
        url: '/school/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSchool(params) {
    return axios.post({
        url: '/school/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSchool(params) {
    return axios.post({
        url: '/school/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSchool(params) {
    return axios.post({
        url: '/school/load',
        data: params
    }).then((res) => {
        return res
    })
}

